#!/bin/bash -u

# Run cpplint on the geometry library with the following filters:
# -legal/copyright : we don't need copyright messages
# -whitespace/parens : mainly whitespace between for / if / .. etc. and (
# -whitespace/braces : { are on a new line
# -runtime/int we don't have a standard replacement for long long
./cpplint.py --filter=-legal/copyright,-whitespace/parens,-whitespace/braces,-runtime/int ../code/geometry/tcr.cc

# Run cpplint on binomial.cc with the following filters:
# -legal/copyright : we don't need copyright messages
# -whitespace/braces : { are on a new line
# -runtime/int we don't have a standard replacement for long long
./cpplint.py --filter=-legal/copyright,-whitespace/braces,-runtime/int ../code/binomial/binomial.cc
